package com.lion.hbase.model;

import java.util.Date;

import com.lion.hbase.annotation.HField;
import com.lion.hbase.annotation.HTable;
import com.lion.hbase.api.HbaseTableModel;
@HTable(name = "ReportCampaign", family = "DATA")
public class ReportCampaign implements HbaseTableModel {
	@HField("CAMPAIGN")
	private String campaign;
	@HField("CAMPAIGN_ID")
	private Long campaignId;
	@HField("NETWORK")
	private String network;
	@HField("CUSTOMER_ID")
	private Long customerId;
	@HField(value = "DATE", format = "yyyyMMdd")
	private Date date;

	@Override
	public byte[] getKey() {
		// TODO 编写key规则
		return null;
	}

	public String getCampaign() {
		return campaign;
	}

	public void setCampaign(String campaign) {
		this.campaign = campaign;
	}

	public Long getCampaignId() {
		return campaignId;
	}

	public void setCampaignId(Long campaignId) {
		this.campaignId = campaignId;
	}

	public String getNetwork() {
		return network;
	}

	public void setNetwork(String network) {
		this.network = network;
	}

	public Long getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Long customerId) {
		this.customerId = customerId;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

}
